package team.hyznrj.studentsys.controller;

import javax.servlet.http.HttpServletRequest;

import org.apache.ibatis.annotations.Param;
import org.springframework.web.bind.annotation.CrossOrigin;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.RestController;

import io.swagger.annotations.Api;
import team.hyznrj.studentsys.entity.ExcelEntity;
@RestController
@RequestMapping("/WebJuitTest")
@Api(value = "WebJuitTest")
public class WebTestContrller {
    @GetMapping(value = "/test1")
    public String findAccountInfo( ExcelEntity entity,String flag,HttpServletRequest request){
    	System.out.println("#"+ "flag3="+entity!=null? entity.getFlag():"#");
    	System.out.println(flag);
    	System.out.println(request.getAttribute("flag"));
//    	System.out.println("####"+ flag);
       	return null;
    }
}
